﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Fan.Dongping.Ali.Common.Bean;

namespace WCFService
{
    [ServiceContract]
    public interface INoteService
    {

        [OperationContract]
        string[] GetNoteCategory(string userId);

        [OperationContract]
        NoteSummary[] GetAllNotesByUser(string userID);

        [OperationContract]
        bool UpdateNote(string userId, long noteId, string topic, string body);

        [OperationContract]
        long InsertNotes(string userID, string topic, string body);

        [OperationContract]
        NoteSummary GetNote(long noteId);
        

    }
}
